import { RequestType } from '~/config/enum/request-type.enum'
const CONTROLLER = 'order'
const SERVICE = 'service-order'

export default {
  /**
   * 分页查询订单
   */
  findOrderListByPage: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findOrderListByPage',
    type: RequestType.Get
  },
  /**
   * 创建订单
   */
  createOrder: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'createOrder',
    type: RequestType.Post
  },
}
